﻿using Shop.RemoteModel.LogisticsTemplate.Model;
using WeDonekRpc.Client;
using WeDonekRpc.HttpApiGateway.Model;

namespace Shop.StoreGatewayModular.Interface
{
    public interface ILogisticsTemplateService
    {
        long Add (LogisticsTemplateDatum datum);
        void Delete (long id);
        LTemplateDatum Get (long id);
        LogisticsItem[] GetItems ();
        PagingResult<LTemplateDatum> Query (PagingParam<LTQueryParam> param);
        bool Set (long id, LogisticsTemplateDatum datum);
        long SetIsDefault (long id);
        bool SetIsEnable (long id, bool isEnable);
    }
}